<template>
  <div id="app" class="container">
    <!-- <Main/> -->
    <global-header :user="currentUser"/>
    <router-view></router-view>
    <!-- <column-list :list="testData"/> -->
    <!-- <from></from> -->
  </div>
</template>

<script lang="ts">
import 'bootstrap/dist/css/bootstrap.min.css'
import {defineComponent} from 'vue'



// import Main from "./components/mytest/main.vue"

import ColumnList , {ColumnListPros} from './components/ColumnList/ColumnList.vue'
import GlobalHeader , {UserProps} from './components/GlobalHeader/GlobalHeader.vue'

import From from './components/form/Form.vue'
const currentUser:UserProps = {
  isLogin: true,
  name: 'hmgdcr'
}
const testData: ColumnListPros[] = [
  {
    id: 1,
    title: 'test1专栏',
    avatar: 'https://dss3.baidu.com/-rVXeDTa2gU2pMbgoY3K/it/u=3330507480,2769864377&fm=202&mola=new&crop=v1',
    description: '描述1'
    
  },
  {
    id: 2,
    title: 'test2专栏',
    avatar: 'https://dss3.baidu.com/-rVXeDTa2gU2pMbgoY3K/it/u=3330507480,2769864377&fm=202&mola=new&crop=v1',
    description: '描述2'
    
  },
  {
    id: 3,
    title: 'test3专栏',
    avatar: 'https://dss3.baidu.com/-rVXeDTa2gU2pMbgoY3K/it/u=3330507480,2769864377&fm=202&mola=new&crop=v1',
    description: '描述3'
    
  },
  {
    id: 4,
    title: 'test4专栏',
    description: '描述4'
    
  }
]

export default defineComponent({
  name: 'App',
  components: {
    // ColumnList,
    GlobalHeader
    // From
  },
  setup() {

    return {
      testData,
      currentUser
    }
  }
})
</script>

<style>

</style>
